<template>

  <div class="layui-layout layui-layout-admin">
    <div class="adminnav1">
      <Pagetop></Pagetop>
    </div>
    <div class="adminnav2">
      <Secondnav urlname="homepage"></Secondnav>
    </div>

    <!-- 主体内容 -->
    <div class="layui-body kedou-admin" id="LAY_app_body app">
      <div class="layadmin-tabsbody-item layui-show">
        <div class="pagelist">
          <div class="layui-card-body">
            <fieldset class="layui-elem-field layui-field-title">
              <legend>运费模版</legend>
            </fieldset>
          </div>

          <div class="layui-card-body">
            <div class="buttop">
              <button type="button" class="layui-btn  layui-btn-normal" @click="addData">添加模版</button>
            </div>
            <Tables :fdate="pdate" :result="res" height="430" :totalCount="totalRows" :pageNumber="curindex"
              :fbtn="btn"></Tables>
          </div>
        </div>
      </div>
    </div>

  </div>
</template>
<script>
import Pagetop from '../common/pagetop.vue'
import Secondnav from '../common/secondnav.vue'
import Tables from '../common/tables.vue'
export default {
  name: 'yfset',
  components: { Pagetop, Secondnav, Tables },
  data () {
    return {
    }
  },
  mounted () {

  },
  methods: {
    getdate: function () {
    },
    addData: function () {
      this.$router.push({ path: "/yfsetadd" });
    },
  },
  updated: function () {
    this.isShow = true;
    layui.use('form', function () {
      var form = layui.form;
      form.render();
    });
  },
}
</script>
<style scoped>
/**/
</style>
